<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Team Bonus Summary</title>
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="/js/jquery.leanModal.min.js"></script>
<link type="text/css" href="/css/start/jquery-ui-1.8.21.custom.css" rel="Stylesheet" />	
<script language="javascript"> 
$(function() {
	$( "#display_date" ).datepicker({ dateFormat: "yy-mm-dd",firstDay: 1 });
	
});
</script>

</head>
<body style="font-family:Arial, Helvetica, sans-serif; line-height:20px;">
<?php $payrollCycle = unserialize(PAYROLL_CYCLE_SELECT);?>
<form method = "post" action = "">
<h2>Team Bonus Confirm </h2>
<h3><?php echo $this->dateStart;?> ~ <?php echo $this->dateEnd;?></h3>
<p>Display date to Staff</p>
<input type = "text" name = "display_date" id = "display_date" ></input>
<p>Arrange Pay on Cycle</p>
<select id = "payroll_date" name = "payroll_date">
		<option selected="selected"  value = "" disabled>Please Select</option>
		<?php foreach($payrollCycle as $k => $v){?>
		<?php if($k > 37){?>
		<option value = "<?php echo $k;?>"><?php echo $v[0];?> ~ <?php echo $v[1];?>( <?php if($k < 27){echo $k;}else{echo ($k-26);}?> ) </option>
			
		<?php 	}
		}?>
	</select>
<br/>
<br/>

<div id = "payrollWizard" <?php if(!$this->nextCheck){?>style = "visibility:hidden;<?php }?>">
<input type = "submit" name = "confirm" id = "confirm" value = "Confirm&Next"></input>
</div>
</form>
</body>
</html>
